<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
        var flag=true;
    if(flag){
        //falg为true的进行大括号的语句
        // flag为false则不执行大括号里面的语句

        console.log("我是正确的");
    }


    var num1=10;
    var num2=20;
    if(num1 < num2){
        console.log("num1 ,num2大");
    }

    var key=10
    var val=20;
    if(ket==val){
        console.log(key);
    }
    </script>
</body>
</html>